package com.weds.frame.common.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import lombok.Data;
import springfox.documentation.annotations.ApiIgnore;

import java.io.Serializable;
import java.sql.Timestamp;

/**
 * Description:
 * Author: LiuWenQing
 * Datetime: 2023/4/24 18:48
 */
@Data
@ApiModel
@ApiIgnore
public class BaseAEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Timestamp ctDate;

    @TableField(fill = FieldFill.INSERT)
    private Integer ctUserId;

}
